﻿@model OnlinePharmacyV001.Models.FeedBack

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>FeedBack</legend>
    <table width="100%">
     <tr>
      <td colspan="2" ><div class="display-label"><font style="color:Blue;">ID</font>: @Html.DisplayFor(model => model.fbId)</div></td>
     </tr>
     <tr>
      <td colspan="2" style="background-color:InfoBackground; text-align:center; color:Blue;"><div class="display-label">Content</div></td>
     </tr>
     <tr>
      <td colspan="2"><div class="display-field">@Html.DisplayFor(model => model.fbContent)</div></td>
     </tr>
     <tr>
      <td ><div class="display-label"><font style="color:Blue;">PostedDate</font>: @Html.DisplayFor(model => model.fbPostedDate)</div></td>
      <td ><div class="display-label"><font style="color:Blue;">Status</font>:
      @if (Html.DisplayFor(model => model.fbStatus).ToHtmlString()=="1")
      {
          @("Already read");
      }     else{
          @("Not yet read");
      }</div>
      </td>
     </tr>
     </table>
 
     <table width="100%">
       <tr><td colspan="2" style="text-align:center; background-color:InfoBackground;"><font style="color:Blue; font-size:13px;">AuthorDetails</font></td></tr>
     <tr>
      <td><font style="color:Blue;">FullName</font>:</td>
      <td style="width:80%;"><div class="display-label">@Html.DisplayFor(model => model.fbAuthorName)</div></td>
     </tr> 
     <tr>
      <td><font style="color:Blue;">Address</font>:</td>
      <td ><div class="display-label">@Html.DisplayFor(model => model.fbAuthorAddress)</div></td>
     </tr>    
     <tr>
      <td><font style="color:Blue;">Phone</font>:</td>
      <td style="width:80%;"><div class="display-label">@Html.DisplayFor(model => model.fbAuthorPhone)</div></td>
     </tr>
     <tr>
      <td><font style="color:Blue;">PostalCode</font>:</td>
      <td style="width:80%;"><div class="display-label">@Html.DisplayFor(model => model.fbAuthorPostalCode)</div></td>
     </tr>
     <tr>
      <td><font style="color:Blue;">Country</font>:</td>
      <td style="width:80%;"><div class="display-label">@Html.DisplayFor(model => model.fbAuthorCountry)</div></td>
     </tr>
     <tr>
      <td><font style="color:Blue;">City</font>:</td>
      <td style="width:80%;"><div class="display-label">@Html.DisplayFor(model => model.fbAuthorCity)</div></td>
     </tr>
     <tr>
      <td><font style="color:Blue;">State</font>:</td>
      <td style="width:80%;"><div class="display-label">@Html.DisplayFor(model => model.fbAuthorState)</div></td>
     </tr>
     <tr>
     <td><font style="color:Blue;">Email</font>:</td>
     <td style="width:80%;"><div class="display-label"> @Html.DisplayFor(model => model.fbAuthorEmail)</div></td>
     </tr> 
       </table>
  
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.fbId }) |
    @Html.ActionLink("Back to List", "Index")
</p>
